import java.util.EnumMap;
import java.util.Enumeration;
import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 徐海涛
 * Date: 2021-11-14
 * Time: 19:37
 */
public class TestDemo {
    public static void main(String[] args)
    }



    public static void main15(String[] args) {
        Scanner scanner = new Scanner(System.in);//求是不是素数方法二
        int n = scanner.nextInt();
        int i = 2;
        for (i = 2; i <= n/2; i++) {
            if (n % i == 0) {
                System.out.println("不是素数");
            }
        } if (i > n/2) {
            System.out.println("是素数");
        }



    }
    public static void main14(String[] args) {//求是不是素数方法一
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int i = 2;
        for (i = 2; n >= 2; i++) {
            if (n % 2 == 0) {
                System.out.println("不是素数");
            } break;

        }
        if (i == n) {
            System.out.println("是素数");
        }
    }
    public static void main12(String[] args) {
    }
    public static void main13(String[] args) {//作业1。
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        if (n <= 18) {
            System.out.println("是少年");
        } else if (n > 18 && n <= 29) {
            System.out.println("是青年");
        } else if (n > 26) {
            System.out.println("是老年20");
        }


    }
    public static void main10(String[] args) {
        int n = 1;
        int result = 0;
        while (n <= 10) {
            result = result + n;
            n++;
        }
        n = n + result;
        System.out.println(n);

    }
    public static void main9(String[] args) {
        int j = 1;
        int sum = 0;
        while (j <= 5) {
            int n = j;
            int i = 1;
            int ret = 1;
            while (i <= n) {
                ret = ret * i;
                i++;
            }
            sum = sum + ret;

        }
        System.out.println(sum);
    }

    public static void main8(String[] args) {
        int n = 1;
        int result = 1;
        while (n <=5) {
           result = result*n;

            n++;

        }
        System.out.println(n);
    }
    public static void main7(String[] args) {
        int n = 1;
        int result = 0;
        while (n <= 100) {
            result += n;
            n++;


        }
        System.out.println(n);
    }

    public static void main6(String[] args) {//打印1-100的数
        int n = 1;
        int result = 0;
        while (n <= 100) {
            result += n;
            n++;
        }
        System.out.println(n);
    }

    public static void main5(String[] args) {//打印1-10的数
        int num = 1;
        while (num < 10) {
            System.out.println(num);
            num++;
        }
    }
    public static void main4(String[] args) {
        int year = 2000;
        if (year % 400 == 0) {  //判断是闰年还是费闰年
            System.out.println("是闰年");
        } else {
            System.out.println("不是闰年");

        }



    }


    public static void main3(String[] args) {//判断一个数是正数还是负数
        int n = 10;
        if (n >= 0) {
            System.out.println("是正数");
        } else {
            System.out.println("是负数");
        }

    }

    public static void main2(String[] args) {//判断一个数是偶数还是奇数
        int n = 10;
        if (n % 2 == 0) {
            System.out.println("是偶数");
        } else {
            System.out.println("是奇数");
        }

    }

    public static void main1(String[] args) {

        System.out.println(Integer.MAX_VALUE);
    }
}
